package com.njlime.cms.repository.app;

import com.njlime.cms.entities.MaterialsNews;
import com.njlime.core.helper.PageBean;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

import java.util.Map;

/**
 * Created by Dean on 2017-7-27.
 */
public interface AppMaterialNewsDao extends JpaRepository<MaterialsNews, Integer>,JpaSpecificationExecutor<MaterialsNews> {
    Map<String,Object> get(int id);
}
